Fix the build
authorMatthias Clasen <mclasen@redhat.com>
Tue, 1 Nov 2016 18:11:25 +0000 (14:11 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 1 Nov 2016 18:11:25 +0000 (14:11 -0400)
testgtk.c had some dead code referring to GdkColor. Drop it.

tests/testgtk.c

index 3d092d649cb31636a7ec1cb5ffe7986d6b7d28cd..ee81ea587be70e67bea75e8b69da6bbeaed1375a 100644 (file)
@@ -5329,22 +5329,6 @@ create_range_controls (GtkWidget *widget)
     gtk_widget_destroy (window);
 }
 
-struct {
-  GdkColor color;
-  gchar *name;
-} text_colors[] = {
- { { 0, 0x0000, 0x0000, 0x0000 }, "black" },
- { { 0, 0xFFFF, 0xFFFF, 0xFFFF }, "white" },
- { { 0, 0xFFFF, 0x0000, 0x0000 }, "red" },
- { { 0, 0x0000, 0xFFFF, 0x0000 }, "green" },
- { { 0, 0x0000, 0x0000, 0xFFFF }, "blue" }, 
- { { 0, 0x0000, 0xFFFF, 0xFFFF }, "cyan" },
- { { 0, 0xFFFF, 0x0000, 0xFFFF }, "magenta" },
- { { 0, 0xFFFF, 0xFFFF, 0x0000 }, "yellow" }
-};
-
-int ntext_colors = sizeof(text_colors) / sizeof(text_colors[0]);
-
 /*
  * GtkNotebook
  */